include kernel-module-phytium.inc

LIC_FILES_CHKSUM = "file://../../../../cross-build-env.sh;md5=5f9d0dc193edae1c4dbf35064b8f3370"

PROVIDES += "kernel-module-gpu"

SRC_URI += " file://x100.conf"

S = "${WORKDIR}/git/gpu/gpu/drm/phytium"

do_configure:prepend() {
    cp ${S}/Makefile-cross ${S}/Makefile
}

do_install:append() {
    install -d ${D}/etc/modprobe.d
    cp ${WORKDIR}/x100.conf  ${D}/etc/modprobe.d
}
FILES:${PN} += "${sysconfdir}/modprobe.d/*"
